﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lion.WeiXin.Core.Models
{
   public class CategoryModel:BaseModel
    {

        /// <summary>
        /// 栏目代码
        /// </summary>
        public string Code  {get;set;}

        /// <summary>
        /// 父级栏目代码
        /// </summary>
        public string ParentCode  {get;set;}

        /// <summary>
        /// 栏目名称
        /// </summary>
        public string Name  {get;set;}

        /// <summary>
        /// 物理目录名称
        /// </summary>
        public string DirName  {get;set;}

        /// <summary>
        /// 图片
        /// </summary>
        public string Image  {get;set;}

        /// <summary>
        /// 简述
        /// </summary>
        public string Summary  {get;set;}

        /// <summary>
        /// 访问地址
        /// </summary>
        public string Url  {get;set;}

        /// <summary>
        ///  栏目内容
        /// </summary>
        public string Content  {get;set;}

        /// <summary>
        /// 模板编号
        /// </summary>
        public int TemplateID  {get;set;}

       /// <summary>
       /// 对象保存动作，新增，修改
       /// </summary>
        public string Action { get; set; }


        /// <summary>
        /// 是否首页显示
        /// </summary>
        public int IsShow { get; set; }

        /// <summary>
        /// 排序，数字越小越靠前 （ 正顺）
        /// </summary>
        public int Sort { get; set; }
    }
}
